package com.bwm.bwm007.main.util;

import android.util.Log;

/**
 * Created by Administrator on 2015/11/5.
 */
public class LogUtil {

    private static LogUtil logUtil;

    public static LogUtil getInstance() {

        if (logUtil == null) {
            synchronized (LogUtil.class) {
                if (logUtil == null) {
                    logUtil = new LogUtil();
                }
            }
        }
        return logUtil;
    }

    //打印 error日志
    public void LogEor(String tag, String msg) {
        Log.e(tag, msg);
    }

    //打印 info日志
    public void LogInfo(String tag, String msg) {
        Log.i(tag, msg);
    }

    //打印V日志
    public void LogV(String tag, String msg) {
        Log.v(tag, msg);
    }

}
